<!doctype html> 
<html ng-app='text'> 
<head> 
    <meta charset="utf-8"> 
    <title></title>
    <style type="text/css">
div{width: 100px;height: 100px;background: #ccc;border: 1px solid black;display: none;}
input.active{
	background: yellow;
}
div.active{
	display: block;
}

    </style> 
    <script type="text/javascript" src='angular.js'></script>
    <script type="text/javascript">
   		var app = angular.module('text',[]);
   		app.controller('const',['$scope','$http',function (a,b){
   			a.wangyuechao = 10;


   		}])

    </script>
</head>
<body ng-controller='const'>
{{wangyuechao}}
</body>
</html>